<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>Login</h1>  
  
    <div id="login-error" style="color:red;">${error }</div>  
  
    <form action="loginCheck" method="post">  
  
        <p>
            <label for="j_username">Username</label> 
            <input id="j_username" name="j_username" type="text" />  
        </p>  
  
        <p>  
            <label for="j_password">Password</label>
			<input id="j_password" name="j_password" type="password" />  
        </p>  
  		<input id="_spring_security_remember_me" name="_spring_security_remember_me" type="checkbox" value="true"/>自动登录<br/>
        
        <input type="submit" value="登录" />  
    </form>  
</body>
</html>